package com.nanhai.buddhist.college.module.study.convert.subjectconfig;

import java.util.*;

import com.nanhai.buddhist.college.framework.common.pojo.PageResult;

import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
import com.nanhai.buddhist.college.module.study.controller.admin.subjectconfig.vo.*;
import com.nanhai.buddhist.college.module.study.dal.dataobject.subjectconfig.StudySubjectConfigDO;

/**
 * 课程管理-配置 Convert
 *
 * @author xqenzo@163.com
 */
@Mapper
public interface StudySubjectConfigConvert {

    StudySubjectConfigConvert INSTANCE = Mappers.getMapper(StudySubjectConfigConvert.class);

    StudySubjectConfigDO convert(StudySubjectConfigCreateReqVO bean);

    StudySubjectConfigDO convert(StudySubjectConfigUpdateReqVO bean);

    StudySubjectConfigRespVO convert(StudySubjectConfigDO bean);

    List<StudySubjectConfigRespVO> convertList(List<StudySubjectConfigDO> list);

    PageResult<StudySubjectConfigRespVO> convertPage(PageResult<StudySubjectConfigDO> page);

    List<StudySubjectConfigExcelVO> convertList02(List<StudySubjectConfigDO> list);

}
